package com.example.bean;

/**
 * @program: sms
 * @description:
 * @author: zhanghz001
 * @create: 2020-11-03 09:35
 **/
public class Goods {
    //     pid;//商品编号
    private String pid;
    // pname;//商品名称
    private String pname;
    // pdesc; //商品描述
    private String pdesc;
    // price; //价格
    private double price;
    // num;//商品数量
    private int num;

    @Override
    public String toString() {
        return "Goods{" +
                "pid='" + pid + '\'' +
                ", pname='" + pname + '\'' +
                ", pdesc='" + pdesc + '\'' +
                ", price=" + price +
                ", num=" + num +
                '}';
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getPdesc() {
        return pdesc;
    }

    public void setPdesc(String pdesc) {
        this.pdesc = pdesc;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }
}
